﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="lowrepairlist.aspx.cs"
    Inherits="LabMS.Web.Equipment.LowValue.lowrepair" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>低值品维修列表</title>
    <link type="text/css" rel="stylesheet" href="../../style/screen.css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../../style/ie7.css" />
    <![endif]-->
</head>
<body class="mainBody">
    <form id="form1" runat="server">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label>
                        低值品维修列表</label>
                </div>
            </div>
        </div>
        <div class="main">
            <p>
                查询列
                <asp:DropDownList ID="ddlCClass" runat="server">
                    <asp:ListItem Value="Name">名称</asp:ListItem>
                    <asp:ListItem Value="Numbers">编号</asp:ListItem>
                </asp:DropDownList>
                关键字
                <asp:TextBox ID="tbKeyWords" runat="server"></asp:TextBox>
                <asp:Button ID="lbSearch" runat="server" Text="搜索" OnClick="lbSearch_Click" CssClass="button" />
                <asp:Button ID="lbRefresh" runat="server" Text="重置" OnClick="lbRefresh_Click" CssClass="button" />
                <asp:Button ID="lbEduce" runat="server" Text="导出到EXCEL" CssClass="button" />
            </p>
            <asp:GridView ID="instrumentsRepair" runat="server" AutoGenerateColumns="False" DataKeyNames="ID"
                AllowPaging="True" PageSize="15" Width="100%" OnPageIndexChanging="instrumentsRepair_PageIndexChanging"
                OnRowDataBound="instrumentsRepair_RowDataBound" CssClass="infoTable">
                <Columns>
                    <asp:BoundField DataField="Numbers" HeaderText="实验低值品编号" />
                    <asp:BoundField DataField="Name" HeaderText="实验低值品名称" />
                    <asp:BoundField DataField="Model" HeaderText="型号" SortExpression="Model" />
                    <asp:BoundField DataField="Applicant" HeaderText="申请人" />
                    <asp:BoundField DataField="ReportedTime" HeaderText="申请时间" />
                    <asp:BoundField DataField="Status" HeaderText="状态" />
                    <asp:BoundField DataField="Describe" HeaderText="原因" />
                </Columns>
                <HeaderStyle CssClass="header" />
                <RowStyle HorizontalAlign="Center" />
                <EmptyDataTemplate>
                    <a style="color: Red">无数据</a>
                </EmptyDataTemplate>
            </asp:GridView>
        </div>
    </form>

    <script type="text/javascript" src="../../js/jQuery/jquery-1.3.1.js"></script>

    <script type="text/javascript" src="../../js/site.js"></script>

    <script type="text/javascript">

        $(function(){
            /* 修改样式 */
            $("#instrumentsRepair > tbody > tr:even").not(":first").addClass("even");
            $("#instrumentsRepair > tbody > tr").not(":first")
                .hover(
                    function(){
                        $(this).addClass("hover");
                    },
                    function(){
                        $(this).removeClass("hover");
                });

        });
    </script>

</body>
</html>
